package com.ruoyi.aj.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Arrays;


/**
 * 
 * @author gq
 *	客户表 client
 */

@Data
@TableName("client")
public class Client {
	private Integer id;
	private String client;		//客户
	private String   phone;			//	#手机号
	private String type;			//客户类型
	private String typeinfo;		//公司类型，身份特征
	private String cardnum;			//证件号
	private Integer   status;		//	#客户状态
	private String   principal;		//	#主要负责人
	private String 	contact;		//	#业务联系人
	private String 	email;		//			#邮箱
	private String 	duty;			//		#职务
	private String 	affectedareas; //			#影响地区
	private String 	tel;		//			#固定电话
	private String 	pertainarea;//			#所属地区
	private String 	legalperson; 		  //#法定代表人
	private String 	legalpersontel; 	  //#法人联系方式
	private Byte[] 	file;				//#上传文件
	private String 	nation;				//	#民族
	private String 	sex;				//			#性别
	private String 	birth;				//	#出生日期
	private String address;					//#详细地址
	private String remark;			          // #备注
	private String addtime;					//入库时间
	private Integer assign;					//是否指派
//	private String fileurl;
	@TableField(exist = false)
	private Integer systemUserId;			//用户id

	@Override
	public String toString() {
		return "Client{" +
				"id=" + id +
				", client='" + client + '\'' +
				", phone='" + phone + '\'' +
				", type='" + type + '\'' +
				", typeinfo='" + typeinfo + '\'' +
				", cardnum='" + cardnum + '\'' +
				", status=" + status +
				", principal='" + principal + '\'' +
				", contact='" + contact + '\'' +
				", email='" + email + '\'' +
				", duty='" + duty + '\'' +
				", affectedareas='" + affectedareas + '\'' +
				", tel='" + tel + '\'' +
				", pertainarea='" + pertainarea + '\'' +
				", legalperson='" + legalperson + '\'' +
				", legalpersontel='" + legalpersontel + '\'' +
				", file=" + Arrays.toString(file) +
				", nation='" + nation + '\'' +
				", sex='" + sex + '\'' +
				", birth='" + birth + '\'' +
				", address='" + address + '\'' +
				", remark='" + remark + '\'' +
				", addtime='" + addtime + '\'' +
				", assign=" + assign +
				", systemUserId=" + systemUserId +
				'}';
	}



}
